package android.slc.extras.component.tree.entity;

import org.jetbrains.annotations.NotNull;

import java.io.Serializable;

/**
 * @Description:
 * @Author: sunlunchang
 * @CreateDate: 2022/09/01 下午 1:53
 */
public interface SlcTree extends Serializable {
    public static final int VALUE_TREE = 0;
    public static final int VALUE_LEAF = 1;

    String getTName();

    String getTDescription();

    @NotNull
    String getTId();

    @NotNull
    String getParentTId();

    default int getTType() {
        return VALUE_TREE;
    }
}
